projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93bab0f
)
Set frame size to actual requested size (bug#18215)
author
Alan Third
<alan@idiocy.org>
Sat, 2 Sep 2017 17:32:08 +0000
(18:32 +0100)
committer
Alan Third
<alan@idiocy.org>
Thu, 7 Sep 2017 19:49:47 +0000
(20:49 +0100)
* src/nsterm.m (x_set_window_size): Don't use
FRAME_TEXT_TO_PIXEL_WIDTH or FRAME_TEXT_TO_PIXEL_HEIGHT.
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/nsterm.m
b/src/nsterm.m
index ff3329d1cee3a6bff0eaae5ecfeefcd390df95b4..be97e94dd5d81021c76dd3b0f395573691f75b34 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-1820,8
+1820,8
@@
x_set_window_size (struct frame *f,
if (pixelwise)
{
- pixelwidth =
FRAME_TEXT_TO_PIXEL_WIDTH (f, width)
;
- pixelheight =
FRAME_TEXT_TO_PIXEL_HEIGHT (f, height)
;
+ pixelwidth =
width
;
+ pixelheight =
height
;
}
else
{